﻿#ifndef COUNTDOWNTIME_H
#define COUNTDOWNTIME_H

#include <QLabel>
#include <QTimer>

class CountDownTime : public QLabel
{
    Q_OBJECT
public:
    explicit CountDownTime(QWidget *parent = 0, Qt::WindowFlags f=0);
    void mysetText(const QString &str);
    void CountDownStart();
    void CountDownStop();
    QTimer* OneSecound;
private:

    char counttime;
    char inittime;
signals:
    void CoundDownTimeisOver();

public slots:
    void TimeOut();
};

#endif // COUNTDOWNTIME_H
